import type { Fields } from "@/api/low-code/table/typing";

/**表格默认列 */
export const baseFields: Fields = [
  {
    fieldCode: "createBy",
    fieldType: "bigint",
    fieldLength: null,
    digit: null,
    notNull: "Y",
    isPrimary: "N",
    fieldDesc: "创建人",
    disabled: true,
  },
  {
    fieldCode: "createDate",
    fieldType: "datetime",
    fieldLength: null,
    digit: null,
    notNull: "Y",
    isPrimary: "N",
    fieldDesc: "创建时间",
    disabled: true,
  },
  {
    fieldCode: "updateBy",
    fieldType: "bigint",
    fieldLength: null,
    digit: null,
    notNull: "N",
    isPrimary: "N",
    fieldDesc: "修改人",
    disabled: true,
  },
  {
    fieldCode: "updateDate",
    fieldType: "datetime",
    fieldLength: null,
    digit: null,
    notNull: "N",
    isPrimary: "N",
    fieldDesc: "修改时间",
    disabled: true,
  },
  {
    fieldCode: "deleteBy",
    fieldType: "bigint",
    fieldLength: null,
    digit: null,
    notNull: "N",
    isPrimary: "N",
    fieldDesc: "删除人",
    disabled: true,
  },
  {
    fieldCode: "deleteDate",
    fieldType: "datetime",
    fieldLength: null,
    digit: null,
    notNull: "N",
    isPrimary: "N",
    fieldDesc: "删除时间",
    disabled: true,
  },
];
